#pragma once
#include <xpam/system/handle.h>
#include <xpam/exception.h>
//#include <string>
//#include <iostream>
//#include <sstream>

namespace xpam
{
	namespace system
	{
		class pipe : public handle
		{
		public:
			//pipe();
			static void create(handle & rd, handle & wr, int sz = 1024);
			//void create(const std::string & name, const int buffSize = 10240);
			//void connect(const std::string & name);
			//void read(std::string & name, int const buffSize = 1024);
			//void write(const std::string & name);
		};
	}
}